package com.hy.mydesktop.client.component.factory;

import com.extjs.gxt.ui.client.widget.layout.FlowLayout;
import com.hy.mydesktop.shared.persistence.domain.gxt.GxtComponentMetaNodeModel;
/**
 * 
 * <ul>
 * <li>开发作者：冬超</li>
 * <li>设计日期：2010-8-31；时间：下午03:03:32</li>
 * <li>类型名称：FlowLayoutFactory</li>
 * <li>设计目的：</li>
 * </ul>
 * <ul>
 * <b>修订编号：</b>
 * <li>修订日期：</li>
 * <li>修订作者：</li>
 * <li>修订原因：</li>
 * <li>修订内容：</li>
 * </ul>
 */
public class FlowLayoutFactory {
	
	public static FlowLayout createFlowLayout(
			GxtComponentMetaNodeModel gxtComponentMetaNodeModel) {

		return configureFlowLayout(gxtComponentMetaNodeModel);

	}

	private static FlowLayout configureFlowLayout(
			GxtComponentMetaNodeModel gxtComponentMetaNodeModel) {

		FlowLayout flowLayout = createDefaultFlowLayout();
		
		return flowLayout;
	}

	private static FlowLayout createDefaultFlowLayout() {

		FlowLayout flowLayout = new FlowLayout();

		return flowLayout;
	}
}
